package com.ruoyi.activiti.service;

import com.github.pagehelper.Page;
import com.ruoyi.activiti.domain.ActTaskDTO;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.dto.ActApprovalDTO;

/**
 * @author wangenhao
 * @interfaceName ApprovalService
 * @description
 * @date 2024-10-30 下午9:16
 */
public interface ApprovalService {
    AjaxResult addApproval(ActApprovalDTO actApprovalDTO);

    Page<ActTaskDTO> getTaskList(String processDefinitionKey);

    AjaxResult handelApproval(ActApprovalDTO actApprovalDTO);

    AjaxResult formDataShow(String taskID);

    AjaxResult saleHandelApproval(String processInstanceId);

    AjaxResult buyBackOrderShow(String taskId);

    AjaxResult reciveReqShow(String taskId);

    AjaxResult reciveOrderShow(String taskId);

    AjaxResult saleBackReqShow(String taskId);

}
